function addCommonselect() {
  _obj("id_op").value = "cSelectedit";
  _obj("listFrm").submit();
}

function delCommonselect() {
  if (confirm('是否要删除选中的日志?')) {
    commit('listFrm',[['id_op','cSelectdelete']]);
  }
}

function submitSelect() {
  var radios = document.getElementsByName("selectId");
  for(var i = 0; i < radios.length; i++) {
    if(radios[i].checked) {
      submitSelectValue(fullarray[i]);
      break;
    }
  }
  window.close();
}

function submitSelectValue(dataArr) {
  for(i = 0; i < idArr.length; i++){
    setParentValues(idArr[i],dataArr[i]);
  }
}
function setParentValues(id,value) {
  window.dialogArguments.getElementById(id).value=value;
}